package edu.mse.camel.client.events.peer;

import java.util.Date;

import edu.mse.camel.client.events.AbstractEvent;
import edu.mse.camel.client.events.EventIDs;
import edu.mse.camel.client.events.IEvent;

public class ReceiveChatEvent extends AbstractEvent implements IEvent{

	private String content;
	private String name;
	private Date orginalTime;

	public ReceiveChatEvent(String content, String name, Date time) {
		this.content = content;
		this.name = name;
		this.orginalTime = time;
	}

	public String getName() {
		return name;
	}

	public String getContent() {
		return content;
	}

	@Override
	public String getEventID() {
		return EventIDs.RECEIVE_CHAT_EVENT;
	}

	public Date getOrginalTime() {
		return orginalTime;
	}
	
}
